@import "~pc/styles/lib_var.less";

.recordList {
  user-select: none;
  position: relative;
  height: 100%;
  width: 100%;
  padding: 4px 4px 0 0;
  background-color: var(--defaultBg);
  z-index: 10;
  border-right: 1px solid var(--sheetLineColor);
  .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 8px 0px 8px;
    .closeIcon {
      cursor: pointer;
    }
  }
  .list {
    height: calc(100% - 32px);
  }
  .list > div:first-child {
    padding: 8px;

    div {
      background: var(--defaultBg);
    }
  }
  .list > div:nth-child(2) {
    height: calc(100% - 48px);
    max-height: none;
    overflow: hidden;
  }
  .listItems {
    height: calc(100% - 56px);
    overflow-y: overlay;
    overflow-x: hidden;
  }
  .add {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 8px;
    padding-bottom: 16px;
  }
  .empty {
    margin-top: 32px;
    text-align: center;
    color: var(--fc3);
  }
}

.dropList {
  position: relative;
  height: 100%;
  overflow-y: auto;
  padding: 4px 4px 8px 0;
  .dropMask {
    width: 100%;
    height: 100%;
    backdrop-filter: blur(8px);
    position: absolute;
    top: 0;
    left: 0;
    border: 2px dashed var(--deepPurple_300);
    box-sizing: border-box;
    border-radius: 8px;
    z-index: 13;
    display: flex;
    align-items: center;
    justify-content: center;
    .dropMaskText {
      width: 118px;
      font-size: 12px;
      text-align: center;
      color: var(--fc1);
    }
  }
}
